﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Administrator_HotlineManager : System.Web.UI.Page
{
    tblHotline hotline = new tblHotline();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) {


            rptData.DataSource = hotline.getAllHotline();
            rptData.DataBind();
        
        }
    }
    protected void btnAdnew1_Click(object sender, EventArgs e)
    {
        Response.Redirect("AddHotline.aspx");
    }
}